package org.example.shoppingmall.service;

import org.example.shoppingmall.entity.Category;
import org.example.shoppingmall.entity.Goods;

import java.util.List;

public interface OpenService {
    public List<Goods> goodsDisplay(Integer page_size,Integer page);
    public Integer goodsCount();
    public Integer goodsCountByCategory(Integer category_id);
    public Integer goodsCountByKeyword(String keyword);
    public List<Category> getAllCategory();
    public List<Goods> goodsDisplayByCategory(Integer categoryId,Integer page_size,Integer page);
    public List<Goods> goodsSearchByKeyword(String keyword,Integer page_size,Integer page);
}
